﻿using System.Collections.Generic;
using System.Linq;
using Looptribe.Moodlin8.Model;

namespace Looptribe.Moodlin8.ViewModel
{
    public class CourseModuleWrapper
    {
        private readonly CourseModule _module;
        public CourseModule Content { get { return _module; } }

        public CourseModuleWrapper(CourseModule module)
        {
            _module = module;
        }

        public string Title { get { return _module.Name; } }
        public string Subtitle { get { return _module.ModPlural; } }

        public string Image { get { return _module.ModIcon; } }
    }
}
